@layout("/common/_container.html",{title:"Message List",css:["/assets/modular/frame/message.css"],js:["/assets/modular/frame/message.js"]}){
<div class="layui-tab layui-tab-brief" style="padding: 5px 0;margin: 0;width: 400px">
    <ul class="layui-tab-title" style="text-align: center;">
        <li class="layui-this">Notifications(5)</li>
        <li>Private Messages(12)</li>
        <li>To-Do(3)</li>
    </ul>
    <div class="layui-tab-content" style="padding: 5px 0;width: 250px">

        <!-- tab1 -->
        <div class="layui-tab-item layui-show">
            <div class="message-list">
                <!-- In actual project, please use backend data to loop out -->
                <a class="message-list-item" href="javascript:;">
                    <img class="message-item-icon" src="${ctxPath}/assets/common/images/message.png">
                    <div class="message-item-right">
                        <h2 class="message-item-title">You received 14 new weekly reports</h2>
                        <p class="message-item-text">10 months ago</p>
                    </div>
                </a>
                <a class="message-list-item" href="javascript:;">
                    <img class="message-item-icon" src="${ctxPath}/assets/common/images/message.png">
                    <div class="message-item-right">
                        <h2 class="message-item-title">You received 14 new weekly reports</h2>
                        <p class="message-item-text">10 months ago</p>
                    </div>
                </a>
                <a class="message-list-item" href="javascript:;">
                    <img class="message-item-icon" src="${ctxPath}/assets/common/images/message.png">
                    <div class="message-item-right">
                        <h2 class="message-item-title">You received 14 new weekly reports</h2>
                        <p class="message-item-text">10 months ago</p>
                    </div>
                </a>

                <!-- Empty list -->
                <div class="message-list-empty" style="display: none;">
                    <img src="${ctxPath}/assets/common/images/img_msg_notice.svg">
                    <div>No notifications</div>
                </div>

            </div>

            <a class="message-btn-clear" href="javascript:;">Mark all as read</a>

        </div>

        <!-- tab2 -->
        <div class="layui-tab-item">
            <div class="message-list">
                <a class="message-list-item" href="javascript:;">
                    <img class="message-item-icon" src="${ctxPath}/assets/common/images/head.png">
                    <div class="message-item-right">
                        <h2 class="message-item-title">xx commented on your post</h2>
                        <p class="message-item-text">hahahahahaha</p>
                        <p class="message-item-text">10 months ago</p>
                    </div>
                </a>
                <a class="message-list-item" href="javascript:;">
                    <img class="message-item-icon" src="${ctxPath}/assets/common/images/head.png">
                    <div class="message-item-right">
                        <h2 class="message-item-title">xx commented on your post</h2>
                        <p class="message-item-text">hahahahahaha</p>
                        <p class="message-item-text">10 months ago</p>
                    </div>
                </a>
                <a class="message-list-item" href="javascript:;">
                    <img class="message-item-icon" src="${ctxPath}/assets/common/images/head.png">
                    <div class="message-item-right">
                        <h2 class="message-item-title">xx commented on your post</h2>
                        <p class="message-item-text">hahahahahaha</p>
                        <p class="message-item-text">10 months ago</p>
                    </div>
                </a>

                <a id="btn-more1" class="message-btn-more" href="javascript:;">Load more</a>

                <!-- Empty list -->
                <div class="message-list-empty" style="display: none;">
                    <img src="${ctxPath}/assets/common/images/img_msg_pri.svg">
                    <div>No messages</div>
                </div>

            </div>

            <a class="message-btn-clear" href="javascript:;">Clear messages</a>

        </div>

        <!-- tab3 -->
        <div class="layui-tab-item">
            <div class="message-list">
                <a class="message-list-item" href="javascript:;">
                    <div class="message-item-right">
                        <span class="layui-badge pull-right">Pending</span>
                        <h2 class="message-item-title">You received 14 new weekly reports</h2>
                        <p class="message-item-text">10 months ago</p>
                    </div>
                </a>
                <a class="message-list-item" href="javascript:;">
                    <div class="message-item-right">
                        <span class="layui-badge layui-bg-gray pull-right">Completed</span>
                        <h2 class="message-item-title">You received 14 new weekly reports</h2>
                        <p class="message-item-text">10 months ago</p>
                    </div>
                </a>
                <a class="message-list-item" href="javascript:;">
                    <div class="message-item-right">
                        <span class="layui-badge layui-bg-gray pull-right">Completed</span>
                        <h2 class="message-item-title">You received 14 new weekly reports</h2>
                        <p class="message-item-text">10 months ago</p>
                    </div>
                </a>

                <!-- Empty list -->
                <div class="message-list-empty" style="display: none;">
                    <img src="${ctxPath}/assets/common/images/img_msg_db.svg">
                    <div>No to-do items</div>
                </div>

            </div>

            <a class="message-btn-clear" href="javascript:;">Clear to-do</a>

        </div>
    </div>
</div>
@}
